import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import * as ElementPlusIcons from '@element-plus/icons-vue'
import 'normalize.css'
import './assets/css/index.less'

import '../mock/index.js'

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIcons)) {
  app.component(key, component)
}

app.use(store).use(router).mount('#app')
